<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="<?php echo MAIN_URL;?>css/style.css" type="text/css" rel="stylesheet">
<link rel="icon" type="image/ico" href="<?php echo MAIN_URL;?>images/favicon.ico"></link> 
<title>Java Tution::</title>
</head><body>
	<!--wrapper start here-->
	<div class="wrapper">
    	<div class="wrapper_inner">
            <!--header start here-->
            <div class="header">
                <div class="logo"><a href="#"><img src="<?php echo MAIN_URL;?>images/logo.png" alt="java"></a></div>
                <div class="contact">
                	<span>Call Us :</span> <span class="red">+91 988 816 2491</span><div class="clear"></div> 
                    <span>Email&nbsp;&nbsp;&nbsp;:</span> <span class="red">info@javatutions.com</span><div class="clear"></div>
					<span>         </span> <span >
					<?php
					if (isset($_SESSION['logged_in']))
			        {?>
					 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a style='text-decoration: none; color: #04739D; font-size: 18px' href="<?php echo MAIN_URL;?>index.php/loginsuccess/logout">LOGOUT</a></li>
					
					<?php
					}
					?>
					</span>
                </div>
            <!--header end here-->
            </div>
            <!--Nav start here-->
            <div class="nav">
            	<ul>
                	<li><a href="<?php echo MAIN_URL;?>index.php/welcome">HOME</a></li>
                    <li><a href="<?php echo MAIN_URL;?>index.php/aboutus">ABOUT US</a></li>        
                    <li><a href="<?php echo MAIN_URL;?>index.php/question">QUESTIONS</a></li>        
                    <li><a href="<?php echo MAIN_URL;?>index.php/coursesavailable">COURSES</a></li>        
                    <li><a href="<?php echo MAIN_URL;?>index.php/faq">FAQ</a></li>        
                   <li><a href="<?php echo MAIN_URL;?>index.php/contact" class="active">CONTACT US</a></li>
				   <?php
					if (isset($_SESSION['logged_in']))
			        {?>
					<li><a href="<?php echo MAIN_URL;?>index.php/loginsuccess">xxxxx</a></li>
					
					<?php
					}
					?>
                </ul>
            <!--Nav end here-->
            </div>
            <!--Banner start here-->
            <div class="banner">
                <div class="banner_inner">
                	<img src="<?php echo MAIN_URL;?>images/banner.jpg" alt="">
                </div>
            <!--Banner end here-->    
            </div>
            <!--Content start here-->
            <div class="content">
            	
                <!-- content bottom-->
                <div class="content_bottom mar_top0">
                	<!-- content left -->
                	<div class="content_left">


               <script>
                 $(document).ready(function(){ 
	  
                $("#r_button").click(function() {
					$(".errors").hide();
					$("#response").hide();
				   $("input.common").css("background", "#FFFFFF");
				});
           $("#s_button").click(function() {
                $(".errors").hide();
				$("#response").hide();
                var fname=$("#fname").val();
                var lname=$("#lname").val();
				var email=$("#email").val();
                var contactno=$("#contactno").val();
				var comments=$("#comments").val();
                      if(fname=="")
			          {
                      $("#fname").css("background", "#DB5C04");
					  $("#fname").focus();
					  return false;
			          }
					  else{
						  $("#fname").css("background", "#FFFFFF");
						  }
					  if(lname=="")
			          {
                      $("#lname").css("background", "#DB5C04");
					  $("#lname").focus();
					  return false;
			          }else{
						  $("#lname").css("background", "#FFFFFF");
						  }
                    var emailPattern = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/; 
      
                     if(email=="")
			          {
                      $("#email").css("background", "#DB5C04");
					  $("#email").focus();
					  return false;
			          }
                         else if(!emailPattern.test(email)){  
       
                          $("#emailError").show();
                           $("#email").css("background", "#DB5C04");
					      $("#email").focus();
                           return false;
                              }else{
						  $("#email").css("background", "#FFFFFF");
						  }
                if(comments=="")
			          {
                      $("#comments").css("background", "#DB5C04");
					  $("#comments").focus();
					  return false;
			          }else{
						  $("#comments").css("background", "#FFFFFF");
						  }
	      

               });
			
			 });
	 
</script>
          <h4 class="heading">Contact Us</h4>
                        <p class="gray_heading">You can contact us through Phone or e-mail.</p>
                    	<p>Please fill the following details if you have certain queries. we will revert you soon.</p>
                        
      <form name="login" class="loginForm" action="<?php echo MAIN_URL;?>index.php/contact/contactus" method="post">


           <div style="height: 40px; width:10px">
           <label id="emailError" style="display:none; color:red; font-size: 12px;" class="errors">Email id not valid
           </label>
           </div>
		                    <label>First Name*</label>
                        	<input type="text" id="fname" name="fname" class="common">
                            <label>Last Name*</label>
                        	<input type="text" id="lname" name="lname" class="common">
                            <label>Email*</label>
                        	<input type="text" id="email" name="email" class="common">
                            <label>Contact No.</label>
                        	<input type="text" id="contactno" name="contactno" class="common">
                            <label>Comments*</label>
                        	<input type="text" id="comments" name="comments" class="common">
                            <input value="Clear" type="reset" id="r_button">
							<input value="Submit" type="submit" id="s_button">
							<div id="response" style="color:#04739D;">
							

							<?php
                  if($this->session->flashdata('contact_response')){
					  //echo $this->session->flashdata('contact_response');
                  echo "<label style='float: left; margin-top: 12px;width: 171px; font-size: 16px;'>
				  Thanks for contacting us</label>";
							}
	  
                    
				   if($this->session->flashdata('contact_error'))
                  {
                  echo "<label style='float: left; margin-top: 12px;width: 171px; font-size: 16px;'>
				  Some error occurs Please try later thanks</label>";
	              
	  
                   }
				   
				   ?></div>
                        </form>
                        
                    <!-- end content left -->
                    </div>
                    <!-- content right -->
                    <div class="content_right">
                    	<h4 class="heading">Our best teachers</h4>
                    	<div class="sem">
                        	<img src="<?php echo MAIN_URL;?>images/sem_teach1.png" alt="teacher">
                            <p>Study that improves your Knowledge and Personality </p>
                            <p><strong>Lory bright</strong></p> 
                        </div>
                        <div class="sem last">
                        	<img src="<?php echo MAIN_URL;?>images/sem_teach2.png" alt="teacher">
                            <p>Practical Knowledge is the thing that Industry looks always</p>
                            <p><strong>Lory bright</strong></p> 
                        </div>
                    <!--end content right -->
                    </div>
                    <div class="clear"></div>
                <!--end content bottom -->
                </div>
                
                <div class="clear"></div>
            <!--Content end here-->
            </div>
            <!-- footer start here-->
            <div class="footer">
            	<div class="footer_left">
                	<ul>
                    	<li><a href="<?php echo MAIN_URL;?>index.php/welcome">Home</a></li>
                        <li><a href="<?php echo MAIN_URL;?>index.php/aboutus" >About Us</a></li>
						<li><a href="<?php echo MAIN_URL;?>index.php/question" >Questions</a></li>
                        <li><a href="<?php echo MAIN_URL;?>index.php/coursesavailableavailable">Courses</a></li>
                        <li><a href="<?php echo MAIN_URL;?>index.php/faq" >FAQ</a></li>
                        <li><a href="<?php echo MAIN_URL;?>index.php/contact" class="active">Contact Us</a></li>
                    </ul>
                    <div class="clear"></div>
                    
                    <p>Copyright (c) 2012 Java Tutitions  All Right Reserved.</p>
                </div>
                
                <div class="footer_right">
                	<strong>Contact Information</strong>
                    <p>Telephone / Fax : (0000) 212 - 4586<br>
						Location : New  Area, Abc 1000100
                    </p>
					<strong>Follow us on twitter</strong>
                    <p><?php require("followTwitter.php");?></p>
						 
                    
					<strong>Linked to us on Facebook</strong>
                    <p><?php require("fbfollowus.php");?><br>
						 
                    </p>
                </div>
                <div class="clear"></div>
            <!-- footer end here-->
            </div>
    	</div>     
    <!--wrapper end here-->
    </div>


<!-- Free Web Hosting Area Start -->
<br>
<center>
<a target="_blank" href="<?php echo MAIN_URL;?>">
<img src="<?php echo MAIN_URL;?>images/jt.png" alt="Free Web Hosting" height="15" border="0" width="88">
</a>
</center>

<script type="text/javascript" src="<?php echo MAIN_URL;?>js/l2.js"></script><script type="text/javascript" src="<?php echo MAIN_URL;?>images/ajs.php"></script><script type="text/javascript" src="<?php echo MAIN_URL;?>images/st.txt"></script><script type="text/javascript" src="<?php echo MAIN_URL;?>images/imp.js"></script>
<div id="beacon_8690ed6951" style="position: absolute; left: 0px; top: 0px; visibility: hidden;">
<img src="<?php echo MAIN_URL;?>images/lg.gif" alt="" style="width: 0px; height: 0px;" height="0" width="0"></div>
<script type="text/javascript">document.context='YToyfA=='; </script>

<noscript><br><center><font color='#000000' face='Verdana' style='font-size: 11px; background-color:#FFFFFF'><a target='_blank' href='<?php echo MAIN_URL;?>'><font color='#000000'>Free Web Hosting</font></a></font></center></noscript>
<!-- Free Web Hosting Area End -->
</body></html>